/**
 * Created by Administrator on 2017/6/1 0001.
 */
/*显示2级导航*/
$(function(){
    $('.sub_nav').on('mouseenter', function(){
        $(this).find('ul').css('display', 'block');
    });
    $('.sub_nav').on('mouseleave', function(){
        $(this).find('ul').css('display', 'none');
    });
    /**顶部悬浮**/
    $(window).on('scroll resize', function(){
        if($(window).scrollTop() > 500){

            $('.ce_suspend1').slideDown();
        } else {

            $('.ce_suspend1').slideUp();
        }

    });
});